package com.haojin.exer;

public class Account {


	private int id;
	private String pwd = "000000";
	private double balance;
	
	private static double interestRate;
	private static double Minmoney = 1.0;
    private static int init = 1001;
    
    public Account(){
    	id = init++;
    }
    public Account(String pwd,double balance){
    	this();
    	this.pwd = pwd;
    	this.balance = balance;
    	
    }
    
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public static double getInterestRate() {
		return interestRate;
	}
	public static void setInterestRate(double interestRate) {
		Account.interestRate = interestRate;
	}
	public static double getMinmoney() {
		return Minmoney;
	}
	public static void setMinmoney(double minmoney) {
		Minmoney = minmoney;
	}
	public int getId() {
		return id;
	}
	public double getBalance() {
		return balance;
	}
    
    
}
